<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/common.css" type="text/css" />
<script type="text/javascript">
	function delete_confirm() {
		var msg = "您真的确定要删除吗？\n\n请确认！";
		if (confirm(msg) == true) {
			return true;
		} else {
			return false;
		}
	}
</script>
<title></title>
</head>
<body>
	<div id="man_zone">
		<table class="dataintable">
			<caption>用户列表</caption>
			<tr>
				<th width="15%">用户名</th>
				<th width="15%">真实姓名</th>
				<th width="15%">E-mail</th>
				<th width="15%">电话</th>
				<th width="20%">备注</th>
				<th width="20%">操作<font color="red"><s:property
							value="message" /></font></th>
			</tr>
			<s:iterator value="#session.users" var="u" status="status">
				<tr>
					<td><s:property value="#u.username" /></td>
					<td><s:property value="#u.truename" /></td>
					<td><s:property value="#u.email" /></td>
					<td><s:property value="#u.phone" /></td>
					<td><s:property value="#u.note" /></td>
					<td><a
						href="user_modify.action?user_id=<s:property value="#u.user_id"/>">修改</a>|
						<a
						href="user_delete.action?user_id=<s:property value="#u.user_id"/>"
						onClick="javascript:return delete_confirm()">删除</a></td>
				</tr>
			</s:iterator>
		</table>
		<br />
		<br />
		<br />
	</div>
</body>
</html>